package com.cqie.teacherserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Author Zhangr132
 * @date 2024/5/29
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableSwagger2
@MapperScan("com.cqie.teacherserver.mapper") // 指定Mapper接口所在的包
public class TeacherServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(TeacherServerApplication.class ,args);
        System.out.println("\n" +
                "                              __                                                                  __                       .__                  \n" +
                "  ______ _____ _____ ________/  |_            ____ _____    _____ ______  __ __  ______         _/  |_  ____ _____    ____ |  |__   ___________ \n" +
                " /  ___//     \\\\__  \\\\_  __ \\   __\\  ______ _/ ___\\\\__  \\  /     \\\\____ \\|  |  \\/  ___/  ______ \\   __\\/ __ \\\\__  \\ _/ ___\\|  |  \\_/ __ \\_  __ \\\n" +
                " \\___ \\|  Y Y  \\/ __ \\|  | \\/|  |   /_____/ \\  \\___ / __ \\|  Y Y  \\  |_> >  |  /\\___ \\  /_____/  |  | \\  ___/ / __ \\\\  \\___|   Y  \\  ___/|  | \\/\n" +
                "/____  >__|_|  (____  /__|   |__|            \\___  >____  /__|_|  /   __/|____//____  >          |__|  \\___  >____  /\\___  >___|  /\\___  >__|   \n" +
                "     \\/      \\/     \\/                           \\/     \\/      \\/|__|              \\/                     \\/     \\/     \\/     \\/     \\/    ");
    }
}
